﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ActPPTimer.demo
{
    public class tdemo
    {
        private int mc = 0;

        public event EventHandler TimerShot;

        protected virtual void OnTimerShot()
        {
            EventHandler handler = TimerShot;
            if (handler != null) handler(this, EventArgs.Empty);
        }

        public tdemo()
        {
            
        }

        public void RefreshTime()
        {
            mc++;
            OnTimerShot();
        }
    }
}
